home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / lib / objcol2 / src / symbol.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-12  |  341 b   |  17 lines

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <egb.h>
  4.  
  5. void    symbol( char *egbwork, int x, int y, char *str )
  6. {
  7.     char    para[256];
  8.  
  9.      *(( short * )( para + 0 )) = x;
  10.     *(( short * )( para + 2 )) = y;
  11.     *(( unsigned short * )( para + 4 )) = strlen( str );
  12.     strcpy( para + 6, str );
  13.     EGB_sjisString( egbwork, para );
  14.  
  15.     return;
  16. }
  17.